cmake_minimum_required(VERSION 3.10)
project(serial)

file(GLOB SERIAL_SRC
    "src/*.cc"
    "src/impl/*.cc"
    "src/impl/list_ports/*.cc"
)

add_library(serial STATIC ${SERIAL_SRC})

target_include_directories(serial PUBLIC
    ${CMAKE_CURRENT_SOURCE_DIR}/include
)